/*
 * Copyright (C) 2005 - 2030 YGSoft.Inc All Rights Reserved.
 * YGSoft.Inc PROPRIETARY/CONFIDENTIAL.Use is subject to license terms.
 */
package com.jsh.erp.service.depotHead;

import cn.hutool.poi.excel.reader.SheetReader;
import com.jsh.erp.datasource.entities.Bom;
import com.jsh.erp.datasource.vo.DepotHeadImportModel;
import org.apache.poi.ss.usermodel.Sheet;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * 采购订单导入处理器
 *
 * @author chenzipeng
 * @date 2023/3/17
 */
@Component
//@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)
public class DepotHeadImportSheetReader implements SheetReader<DepotHeadImportModel> {

    private int INDEX_BARCODE = 0;
    private int INDEX_NAME = 1;
    private int INDEX_STANDARD = 2;
    private int INDEX_COUNT = 3;
    private int INDEX_PRICE = 4;
    private int INDEX_TAX_RATE = 5;
    private int INDEX_TOTAL_MONEY = 6;
    private int INDEX_REMARK = 7;

    private int ROW_INDEX_DATA = 1;

    @Override
    public DepotHeadImportModel read(Sheet sheet) {
        DepotHeadImportModel importModel = new DepotHeadImportModel();

        return importModel;
    }
}
